package com.briup.estore.common.pojo;

/**
 * @Author briup-adam
 * @Date 2023/7/31 上午11:10
 * @Description  收藏实体类型
 **/

public class Collect {
    /**
     * 收藏编号 id
     */
    private  int id;
    /**
     * 用户编号
     */
    private int userId;
    /**
     * 图书编号
     */
    private  int bookId;

    @Override
    public String toString() {
        return "Collect{" +
                "id=" + id +
                ", userId=" + userId +
                ", bookId=" + bookId +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }
}
